package com.moli.iov.admin.model.vo.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ToString
public class VehicleGpsQueryVo extends BaseVo implements Serializable {

    //查询号码
    @NotNull(message = "号码不能为空")
    @Length(message = "号码长度错误，需要在1和17之间",min = 1,max = 17)
    private String num;

    /**
     * 号码类别 1:车牌号  2：车辆vin
     */
    @NotNull(message = "号码类别不能为空")
    @Length(message = "号码类别长度错误,长度需要为1",min = 1,max = 1)
    private String numType;

}